home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / eofbof / file_id.diz < prev   
Text File  |  1995-12-11  |  280b  |  1 lines

  1. This sample demonstrates ways to prevent "No Current Record" from occuring. EOFBOF shines when you use add some records, MoveFirst, and then try a MovePrevious. The code used prevents you from moving off the end of the database. The same thing works for MoveLast and MovePrevious.